package com.kc.business.domain.vo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * TODO
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/10/9
 */
@Data
@Table(name = "biz_procamera_order")
public class BizProcameraOrder {
    @Id
    @NotNull(message = "id不能为空")
    private String orderId;
    /** 审核状态 */
    @NotBlank(message = "审核状态不能为空")
    private String status;

    /** 地区 */
    private String district;
    /** 详细地址 */
    private String address;
    /** 经度 */
    private BigDecimal longitude;
    /** 纬度 */
    private BigDecimal latitude;
    /** 电话 */
    private String phone;
    /** 设备 */
    private String equipment;
    /** 佣金 */
    private Double commission;
    /** 订单号 */
    private String orderSn;
    /** 拒绝理由 */
    private String refuseInfo;
    /** 接单人id */
    private Integer userId;
    /** 作者id */
    private Integer authorId;
//    @Version
//    private Integer version;
    /** 视频地址 */
    private String videoUrl;
    /** 视频提取码 */
    private String accessCode;
}
